﻿using Volo.Abp;

namespace Demo.AuthService.Services
{
    /// <summary>
    /// OpenIddict应用管理接口
    /// </summary>
    public interface IApplicationsService:IRemoteService
    {

        /// <summary>
        /// 创建客户端应用
        /// </summary>
        /// <param name="ClientId">客户端ID</param>
        /// <param name="ClientSecret">客户端密码</param>
        /// <param name="DisplayName">微服务显示名称</param>
        /// <param name="serviceName">微服务名称</param>
        /// <returns></returns>
        public Task CreateAsync(string ClientId, string ClientSecret, string DisplayName,string serviceName);
    }
}
